

//
//  PCAboutManager.m
//  PromotionCode
//
//  Created by uuu9 on 2017/12/11.
//  Copyright © 2017年 My. All rights reserved.
//

#import "PCAboutManager.h"
#import "PCAboutModel.h"


@implementation PCAboutManager

+(void)getAboutDetailListWithCompletionHandle:(void (^)(PCAboutModel *, NSError *))complete{
    [self GET:[NSString stringWithFormat:@"%@%@",Api_URL,kAbout]
parameters:nil
completionHandler:^(id responseObj, NSError *error) {
    PCAboutModel *model = [PCAboutModel mj_objectWithKeyValues:responseObj];
    if (model.error_code != 0) {
        error = [self createError:model.error_msg];
    }
    complete(model,error);
}];
    
}
@end
